package com.lb.statck.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lb.statck.mapper.category.CategoryMapper;
import com.lb.statck.pojo.vo.CategoryVo;
import com.lb.statck.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceimpl extends ServiceImpl<CategoryMapper, CategoryVo> implements CategoryService {
    @Autowired
    private CategoryMapper categoryMapper;
    @Override
    public List<CategoryVo> getAll() {
        List<CategoryVo> all = categoryMapper.getAll();
        return all;
    }
}
